package com.atguigu.gmall.user;

import com.atguigu.gmall.common.config.interceptor.component.UserAuthComponent;
import com.atguigu.gmall.common.execption.GlobalExceptionHandler;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.context.annotation.Import;

/**
 * @Author:lyd
 **/
@Import({GlobalExceptionHandler.class, UserAuthComponent.class})
@MapperScan("com.atguigu.gmall.user.mapper")
@SpringCloudApplication
public class ServiceUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(ServiceUserApplication.class, args);
    }
}
